<?php
/**
 * crcl/base
 *
 * Copyright 2013 CRCL - André Sabosch - info@crcl.de
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace crcl\base\xml;

class Exception extends \crcl\base\Exception
{
  const ERROR_SAX_CHARSFOUNDBEFOREBEGINNING = 
    '\crcl\base\xml\sax\chars_found_before_beginning_of_document';
  const ERROR_SAX_CHARSFOUNDAFTEREND = 
    '\crcl\base\xml\sax\chars_found_before_after_end_of_document';
  const ERROR_SAX_INVALIDTAGNAME = 
    '\crcl\base\xml\sax\invalid_tag_name';
  const ERROR_SAX_CLOSETAGEXPECTED = 
    '\crcl\base\xml\sax\close_tag_expected';
  const ERROR_SAX_UNEXPECTEDCHAR = 
    '\crcl\base\xml\sax\unexpected_char';
  const ERROR_SAX_ILLEGALCOMMENT = 
    '\crcl\base\xml\sax\illegal_comment';
  const ERROR_SAX_DOUBLEATTRIBUTE = 
    '\crcl\base\xml\sax\attribute_defined_multiple_times';
  const ERROR_SAX_ATTRIBUTEWITHOUTVALUE = 
    '\crcl\base\xml\sax\attribute_without_value';
  const ERROR_SAX_INVALIDATTRIBUTENAME = 
    '\crcl\base\xml\sax\invalid_attribute_name';
   const ERROR_SAX_MISSINGQUOTES = 
    '\crcl\base\xml\sax\missing_quotes';
   const ERROR_SAX_NOTAGSFOUND = 
    '\crcl\base\xml\sax\no_tags_found';
   const ERROR_SAX_UNEXPECTEDSTATE = 
    '\crcl\base\xml\sax\unexpected_state';
}